function charge(){
	var a = prompt("请输入充值金额！");
	var r = /^\d*$/;
	if(r.test(a)){
		var b = confirm('您充值的金额为'+a+'元');
		if(b){
			$.post(
				"/waihuibao/index.php/Account/Shop/charge",
				{
					'charge':a
				},
				function(date){
					$(".yue").html('￥'+date['charge'])
				},
				"json"
			);
		}
	}else{
		alert('请输入数字');
	}

}